package cool.mtc.minghe.service.service.sys.user;

import cool.mtc.minghe.data.model.sys.user.dto.*;
import cool.mtc.minghe.data.model.sys.user.form.*;
import cool.mtc.minghe.data.model.sys.user.query.*;
import cool.mtc.minghe.service.service.BaseService;
import cool.mtc.core.page.PageData;

/**
 * @author 明河
 */
public interface UserService extends BaseService {

    long insert(UserForm form);

    void update(UserForm form);

    void delete(Long id);

    PageData<UserListDTO> pageList(UserQuery query);

    UserDTO info(Long id);

    UserDetailDTO current();
}
